package com.aizuda.boot.modules.business.contract.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Schema(description ="交易方详情DTO")
public class CounterpartyDetailDTO {
    
    @Schema(description = "主键ID")
    private Integer id;
    
    @Schema(description = "交易方编码")
    private String counterpartyCode;
    
    @Schema(description = "交易方名称")
    private String counterpartyName;
    
    @Schema(description = "注册国家代码")
    private String registerCountry;
    
    @Schema(description = "注册国家名称")
    private String registerCountryName;
    
    @Schema(description = "交易方性质")
    private Integer counterpartyNature;
    
    @Schema(description = "交易方性质描述")
    private String counterpartyNatureDesc;
    
    @Schema(description = "交易方类型")
    private List<Integer> counterpartyType;
    
    @Schema(description = "交易方类型描述")
    private List<String> counterpartyTypeDesc;
    
    @Schema(description = "是否关联方(description = 0:否,1:是)")
    private Boolean isRelatedParty;
    
    @Schema(description = "证件类型")
    private Integer certificateType;
    
    @Schema(description = "证件类型描述")
    private String certificateTypeDesc;
    
    @Schema(description = "证件ID")
    private String certificateId;
    
    @Schema(description = "银行信息列表")
    private List<BankInfoDTO> bankInfoList;
    
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
    
    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;
} 